gtk4.git
5 years agogtk-demo: Add some details
Matthias Clasen [Mon, 14 Sep 2020 20:11:11 +0000 (16:11 -0400)]
gtk-demo: Add some details

5 years agoUpdate Latvian translation
Rūdolfs Mazurs [Mon, 14 Sep 2020 19:45:03 +0000 (19:45 +0000)]
Update Latvian translation

5 years agoMerge branch 'issue-2923' into 'master'
Matthias Clasen [Mon, 14 Sep 2020 17:01:54 +0000 (17:01 +0000)]
Merge branch 'issue-2923' into 'master'

Annotate the expression array as "nullable"

Closes #2923

See merge request GNOME/gtk!2578

5 years agoAnnotate the expression array as "nullable"
Emmanuele Bassi [Mon, 14 Sep 2020 16:00:23 +0000 (17:00 +0100)]
Annotate the expression array as "nullable"

While it's a bit dubious whether array+length annotations should be
marked as "nullable", we do this elsewhere in the API, so might as well
be consistent.

In practice, the array argument is only ever allowed to be NULL iff the
length argument is 0; annotations are static, so if somebody decides to
pass a NULL argument with a non-zero value, they will get a run time
critical error, instead of a compile time one, which is somewhat counter
to the point of annotating the API in the first place.

Fixes: #2923
5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 14 Sep 2020 15:44:51 +0000 (15:44 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

widget-factory: Fix the toggle buttons on page 3

See merge request GNOME/gtk!2577

5 years agowidget-factory: Fix the toggle buttons on page 3
Matthias Clasen [Mon, 14 Sep 2020 15:19:39 +0000 (11:19 -0400)]
widget-factory: Fix the toggle buttons on page 3

They should not both be active initially.

5 years agoUpdate POTFILES.skip
Piotr Drąg [Mon, 14 Sep 2020 14:55:31 +0000 (16:55 +0200)]
Update POTFILES.skip

5 years agoMerge branch 'wip/jimmac/navlist-expander-whitespace' into 'master'
Matthias Clasen [Mon, 14 Sep 2020 12:59:05 +0000 (12:59 +0000)]
Merge branch 'wip/jimmac/navlist-expander-whitespace' into 'master'

Adwaita: navigation list expander whitespace

See merge request GNOME/gtk!2575

5 years agoMerge branch 'wip/jimmac/gridview-whitespace' into 'master'
Matthias Clasen [Mon, 14 Sep 2020 12:49:52 +0000 (12:49 +0000)]
Merge branch 'wip/jimmac/gridview-whitespace' into 'master'

Wip/jimmac/gridview whitespace

Closes #3164

See merge request GNOME/gtk!2574

5 years agoAdwaita: navigation list expander whitespace
Jakub Steiner [Mon, 14 Sep 2020 12:31:23 +0000 (14:31 +0200)]
Adwaita: navigation list expander whitespace

 - Address https://gitlab.gnome.org/GNOME/gtk/-/issues/3138#note_910476

5 years agoicon-browser: use content-view
Jakub Steiner [Mon, 14 Sep 2020 10:03:17 +0000 (12:03 +0200)]
icon-browser: use content-view

- make content prominent by using content-view style for the main grid.

5 years agoAdwaita: whitespace for the grid
Jakub Steiner [Mon, 14 Sep 2020 09:58:13 +0000 (11:58 +0200)]
Adwaita: whitespace for the grid

- separate labels
- 12px margins around cells

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3164

5 years agoMerge branch 'wip/jimmac/natigation-sidebar-whitespace' into 'master'
Matthias Clasen [Mon, 14 Sep 2020 11:13:52 +0000 (11:13 +0000)]
Merge branch 'wip/jimmac/natigation-sidebar-whitespace' into 'master'

Wip/jimmac/natigation sidebar whitespace

Closes #3138

See merge request GNOME/gtk!2572

5 years agoMerge branch 'wip/jimmac/cut-finger' into 'master'
Jakub Steiner [Mon, 14 Sep 2020 10:34:52 +0000 (10:34 +0000)]
Merge branch 'wip/jimmac/cut-finger' into 'master'

assets: adjust gesture graphic

Closes #3074

See merge request GNOME/gtk!2573

5 years agoassets: adjust gesture graphic
Jakub Steiner [Sat, 12 Sep 2020 08:12:28 +0000 (10:12 +0200)]
assets: adjust gesture graphic

- quick, somebody on the internet is offended!

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3074

5 years agoAdwaita: navigation-sidebar spacing
Jakub Steiner [Mon, 14 Sep 2020 09:48:43 +0000 (11:48 +0200)]
Adwaita: navigation-sidebar spacing

- split from placessidebar as it's more generic

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3138

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 14 Sep 2020 04:45:07 +0000 (04:45 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2570

5 years agogtk-demo: Improve the scrolling demo
Matthias Clasen [Mon, 14 Sep 2020 03:25:05 +0000 (23:25 -0400)]
gtk-demo: Improve the scrolling demo

Add an fps label to the scrolling demo.

5 years agogtk-demo: Impove the fishbowl demo
Matthias Clasen [Mon, 14 Sep 2020 03:42:55 +0000 (23:42 -0400)]
gtk-demo: Impove the fishbowl demo

Use tnum for the fps label to avoid jiggling.

5 years agogtk-demo: Use gdk_frame_clock_get_fps
Matthias Clasen [Mon, 14 Sep 2020 03:42:13 +0000 (23:42 -0400)]
gtk-demo: Use gdk_frame_clock_get_fps

Remove another copy of this code in the theme
switching benchmark.

5 years agoinspector: Use gdk_frame_clock_get_fps
Matthias Clasen [Mon, 14 Sep 2020 03:32:33 +0000 (23:32 -0400)]
inspector: Use gdk_frame_clock_get_fps

5 years agoAdd gdk_frame_clock_get_fps
Matthias Clasen [Mon, 14 Sep 2020 03:31:17 +0000 (23:31 -0400)]
Add gdk_frame_clock_get_fps

We already have more than one copy of this code
in GTK, so just export this function.

5 years agomain: Reshuffle debug code
Matthias Clasen [Mon, 14 Sep 2020 02:48:29 +0000 (22:48 -0400)]
main: Reshuffle debug code

Mode all the debug flags related code together,
to make gtkmain.c a bit less messy.

5 years agoDrop support for GTK_TEST_TOUCHSCREEN
Matthias Clasen [Mon, 14 Sep 2020 02:44:32 +0000 (22:44 -0400)]
Drop support for GTK_TEST_TOUCHSCREEN

This environment variable is undocumented, and you can
just use GTK_DEBUG=touchscreen insead.

5 years agoMove version-related functions to gtkversion.c
Matthias Clasen [Mon, 14 Sep 2020 02:23:06 +0000 (22:23 -0400)]
Move version-related functions to gtkversion.c

This is just an internal cleanup, to make gtkmain.c
a bit less messy.

5 years agoClean up debug flags code a bit
Matthias Clasen [Mon, 14 Sep 2020 02:10:25 +0000 (22:10 -0400)]
Clean up debug flags code a bit

Use the GtkDebugFlags enum, since we have it.

5 years agoiconview: Small doc additions
Matthias Clasen [Mon, 14 Sep 2020 01:49:11 +0000 (21:49 -0400)]
iconview: Small doc additions

5 years agoDrop gtk_render_slider from headers
Matthias Clasen [Mon, 14 Sep 2020 01:47:39 +0000 (21:47 -0400)]
Drop gtk_render_slider from headers

The function does not exist.

5 years agocolorchooser: Bring back gtk_color_chooser_widget_new
Matthias Clasen [Mon, 14 Sep 2020 01:44:50 +0000 (21:44 -0400)]
colorchooser: Bring back gtk_color_chooser_widget_new

This was removed by accident in commit f392fbfb6d6f1116728b.

5 years agodocs: Misc updates
Matthias Clasen [Mon, 14 Sep 2020 01:30:41 +0000 (21:30 -0400)]
docs: Misc updates

Pick up a number of symbols that have been missed,
and drop GtkAccelLabel.

5 years agodocs: Add new check button apis
Matthias Clasen [Mon, 14 Sep 2020 01:18:08 +0000 (21:18 -0400)]
docs: Add new check button apis

5 years agodocs: Some touchups to the migration guide
Matthias Clasen [Mon, 14 Sep 2020 01:17:51 +0000 (21:17 -0400)]
docs: Some touchups to the migration guide

5 years agoNEWS: Updates
Matthias Clasen [Sun, 13 Sep 2020 23:54:27 +0000 (19:54 -0400)]
NEWS: Updates

5 years agoMerge branch 'gtk-demo-demo' into 'master'
Matthias Clasen [Sun, 13 Sep 2020 23:37:22 +0000 (23:37 +0000)]
Merge branch 'gtk-demo-demo' into 'master'

Gtk demo demo

See merge request GNOME/gtk!2569

5 years agoMerge branch 'update-default-palette' into 'master'
Matthias Clasen [Sun, 13 Sep 2020 23:28:57 +0000 (23:28 +0000)]
Merge branch 'update-default-palette' into 'master'

colorchooserwidget: Update default palette

See merge request GNOME/gtk!2568

5 years agocolorchooserwidget: Update default palette
nana-4 [Sun, 13 Sep 2020 21:59:26 +0000 (06:59 +0900)]
colorchooserwidget: Update default palette

This makes it completely in line with the new GNOME HIG color palette.

See https://gitlab.gnome.org/GNOME/gtk/-/issues/3146

5 years agogtk-demo: Don't offer to run titles
Matthias Clasen [Sun, 13 Sep 2020 21:55:10 +0000 (17:55 -0400)]
gtk-demo: Don't offer to run titles

When a group is selected (such as 'Benchmark'),
make the run button insensitive - there is nothing
to run.

5 years agoDemo thyself
Matthias Clasen [Sun, 13 Sep 2020 21:37:05 +0000 (17:37 -0400)]
Demo thyself

Make gtk-demo show itself as a useful example.

5 years agoMerge branch 'demo-keywords' into 'master'
Matthias Clasen [Sun, 13 Sep 2020 21:13:21 +0000 (21:13 +0000)]
Merge branch 'demo-keywords' into 'master'

gtk-demo: add keywords to filtering

See merge request GNOME/gtk!2567

5 years agogtk-demo: Add keywords to demos
Matthias Clasen [Sun, 13 Sep 2020 18:59:33 +0000 (14:59 -0400)]
gtk-demo: Add keywords to demos

Add the names of the main widgets as keywords to
our demos, but also things like "game". This helps
finding relevant demos in our growing list. You
can now for example type "label", and find the
"error states" and "links" demos showing GtkLabel
features.

5 years agogtk-demo: Support keywords for search
Matthias Clasen [Sun, 13 Sep 2020 15:37:23 +0000 (11:37 -0400)]
gtk-demo: Support keywords for search

Filter the sidebar on keywords that can be provided
by the demos. We extract keywords from the doc comment
at the top of each demo source by looking for words that
look like class names. We also allow to specify keywords
explicitly.

5 years agogtk-demo: Ignore some lines in info
Matthias Clasen [Sun, 13 Sep 2020 14:45:03 +0000 (10:45 -0400)]
gtk-demo: Ignore some lines in info

Ignore lines starting with # in the info comment at
the top of source files. This will be used to add
keywords for search in following commits.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 13 Sep 2020 18:39:12 +0000 (18:39 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2566

5 years agogtk-demo: Add another demo
Matthias Clasen [Sun, 13 Sep 2020 14:37:32 +0000 (10:37 -0400)]
gtk-demo: Add another demo

This one is a more or less direct copy of the
settings dialog from widget-factory, demonstrating
error states and builder scopes.

5 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 13 Sep 2020 12:30:52 +0000 (12:30 +0000)]
Update Latvian translation

5 years agoUpdated French translation
Claude Paroz [Sun, 13 Sep 2020 08:46:33 +0000 (10:46 +0200)]
Updated French translation

5 years agogtk-demo: Make F11 toggle fullscreen
Matthias Clasen [Sun, 13 Sep 2020 06:31:41 +0000 (02:31 -0400)]
gtk-demo: Make F11 toggle fullscreen

In the video player demo, we have a button to make
the window fullscreen, but no easy way back. Add
the usual F11 keybinding, to make things at least
somewhat recoverable.

5 years agovideo: Make autoplay work
Matthias Clasen [Sun, 13 Sep 2020 05:56:56 +0000 (01:56 -0400)]
video: Make autoplay work

We were setting things up in the wrong order, so
autoplay had no effect when you using gtk_video_set_file().

5 years agogtk-demo: Add some example videos
Matthias Clasen [Sun, 13 Sep 2020 05:50:31 +0000 (01:50 -0400)]
gtk-demo: Add some example videos

Add buttons to show the gtk-logo animation and
the Big Buck Bunny trailer.

5 years agoplacessidebar: Remove a pointless restriction
Matthias Clasen [Sun, 13 Sep 2020 05:14:00 +0000 (01:14 -0400)]
placessidebar: Remove a pointless restriction

The sidebar was refusing to show shortcuts for
things that don't have a local path, for no
good reason.

5 years agofilechooser: Fix setting unlisted filters
Matthias Clasen [Sun, 13 Sep 2020 05:12:51 +0000 (01:12 -0400)]
filechooser: Fix setting unlisted filters

This is documented to work, but it was broken
when we ported things to list models.

5 years agoFix a compiler warning
Matthias Clasen [Sun, 13 Sep 2020 05:12:39 +0000 (01:12 -0400)]
Fix a compiler warning

5 years agowidget-factory: Fix error states demo
Matthias Clasen [Sun, 13 Sep 2020 04:14:30 +0000 (00:14 -0400)]
widget-factory: Fix error states demo

Fix a corner case of input validation in the settings
dialog.

5 years agoCosmetics
Matthias Clasen [Sun, 13 Sep 2020 04:05:57 +0000 (00:05 -0400)]
Cosmetics

5 years agogtk-demo: Don't refer to removed demos
Matthias Clasen [Sun, 13 Sep 2020 03:56:15 +0000 (23:56 -0400)]
gtk-demo: Don't refer to removed demos

The animated background demos was referring to the
pixbuf demo that was removed a while ago. Reword
the text accordingly.

5 years agoUpdate Turkish translation
Emin Tufan Çetin [Sat, 12 Sep 2020 17:11:40 +0000 (17:11 +0000)]
Update Turkish translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sat, 12 Sep 2020 16:25:17 +0000 (16:25 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3110 and #2994

See merge request GNOME/gtk!2565

5 years agoClean up lots of GTK+ -> GTK
Matthias Clasen [Sat, 12 Sep 2020 16:01:04 +0000 (12:01 -0400)]
Clean up lots of GTK+ -> GTK

Replace most remaining uses of GTK+ in the docs and
user-visible strings by GTK. Also remove some leftover
"Was added in 3.x" sentences from the docs.

5 years agoAUTHORS: some updates
Matthias Clasen [Sat, 12 Sep 2020 15:52:14 +0000 (11:52 -0400)]
AUTHORS: some updates

5 years agotext: Claim the sequence when we start selecting
Matthias Clasen [Sat, 12 Sep 2020 15:18:36 +0000 (11:18 -0400)]
text: Claim the sequence when we start selecting

Without this, drag-select will only work sporadically
in entries in headerbars.

Fixes: #2994
5 years agoCosmetics
Matthias Clasen [Sat, 12 Sep 2020 15:11:28 +0000 (11:11 -0400)]
Cosmetics

Add a missing comma.

5 years agoAdd a testcase for controls in headerbars
Matthias Clasen [Sat, 12 Sep 2020 14:58:07 +0000 (10:58 -0400)]
Add a testcase for controls in headerbars

This is meant to help with figuring out entry
selection drag issues.

5 years agofilechooser: Prevent a crash
Matthias Clasen [Sat, 12 Sep 2020 14:40:13 +0000 (10:40 -0400)]
filechooser: Prevent a crash

With csd, we are handling external widgets when
there is an entry in the headerbar. Use a weak ref
to prevent that pointer from going stale. This fixes
a crash when cancelling a save dialog.

Fixes: #3110
5 years agoMerge branch 'ebassi/for-master' into 'master'
Emmanuele Bassi [Sat, 12 Sep 2020 14:24:13 +0000 (14:24 +0000)]
Merge branch 'ebassi/for-master' into 'master'

Properly annotate GtkLayoutManagerClass.create_layout_child()

Closes #3156

See merge request GNOME/gtk!2564

5 years agoProperly annotate GtkLayoutManagerClass.create_layout_child()
Emmanuele Bassi [Sat, 12 Sep 2020 13:31:52 +0000 (14:31 +0100)]
Properly annotate GtkLayoutManagerClass.create_layout_child()

We're missing the ownership transfer rule for the created GtkLayoutChild
instance; this makes the virtual function not introspectable.

Fixes: #3156
5 years agoUpdate Turkish translation
Emin Tufan Çetin [Sat, 12 Sep 2020 06:14:30 +0000 (06:14 +0000)]
Update Turkish translation

5 years agoMerge branch 'emblem-demo' into 'master'
Matthias Clasen [Sat, 12 Sep 2020 01:33:51 +0000 (01:33 +0000)]
Merge branch 'emblem-demo' into 'master'

Emblem demo

See merge request GNOME/gtk!2563

5 years agogtk-demo: Add an emblem demo
Matthias Clasen [Sat, 12 Sep 2020 01:09:41 +0000 (21:09 -0400)]
gtk-demo: Add an emblem demo

Add a simple demo for adding emblems to icons
using GdkPaintable.

5 years agogtk-demo: Tweak the animated paintable
Matthias Clasen [Sat, 12 Sep 2020 01:08:36 +0000 (21:08 -0400)]
gtk-demo: Tweak the animated paintable

Make it possible to have no background in
the animated paintable. This will be used
in a future demo.

Update all users.

5 years agogtk-demo: Fix a few crash
Matthias Clasen [Sat, 12 Sep 2020 01:05:09 +0000 (21:05 -0400)]
gtk-demo: Fix a few crash

The paintable demos were forgetting to clear
their window variable.

5 years agoMerge branch 'text-layout-speedup' into 'master'
Matthias Clasen [Fri, 11 Sep 2020 21:20:38 +0000 (21:20 +0000)]
Merge branch 'text-layout-speedup' into 'master'

textlayout: Avoid some iter comparisons

See merge request GNOME/gtk!2561

5 years agotextlayout: Avoid some iter comparisons
Matthias Clasen [Fri, 11 Sep 2020 19:35:44 +0000 (15:35 -0400)]
textlayout: Avoid some iter comparisons

We were doing more iter comparisons than necessary in the
inner loop of gtk_text_layout_snapshot(), in the presence
of a selection. Rewrite the code to compare line numbers
instead, which is faster than full iter comparisons.

5 years agoMerge branch 'wip/otte/for-master' into 'master'
Matthias Clasen [Fri, 11 Sep 2020 15:50:23 +0000 (15:50 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

contentserializer: Don't send the terminating \0 byte for strings

Closes #3150

See merge request GNOME/gtk!2560

5 years agocontentserializer: Don't send the terminating \0 byte for strings
Benjamin Otte [Fri, 11 Sep 2020 15:25:02 +0000 (17:25 +0200)]
contentserializer: Don't send the terminating \0 byte for strings

Fixes #3150

5 years agoMerge branch 'wip/jimmac/new-colors' into 'master'
Matthias Clasen [Fri, 11 Sep 2020 13:56:48 +0000 (13:56 +0000)]
Merge branch 'wip/jimmac/new-colors' into 'master'

Wip/jimmac/new colors

Closes #3146

See merge request GNOME/gtk!2558

5 years agocolorchooser: Don't parse color names needlessly
Matthias Clasen [Fri, 11 Sep 2020 13:31:17 +0000 (09:31 -0400)]
colorchooser: Don't parse color names needlessly

We have a fancy macro to initialize GdkRGBAs without
any runtime work, lets use them.

5 years agocolorchooser: Drop color names
Matthias Clasen [Fri, 11 Sep 2020 13:12:34 +0000 (09:12 -0400)]
colorchooser: Drop color names

These were not used anymore, after a11y stopped using them.

5 years agocolor chooser: Don't show too many custom colors
Matthias Clasen [Fri, 11 Sep 2020 12:42:03 +0000 (08:42 -0400)]
color chooser: Don't show too many custom colors

The code was hardcoding a fixed number of custom
colors, but we really want to match the number
of columns in the palette(s). Make it so.

5 years agocolorChooser: updte color palette
Jakub Steiner [Fri, 11 Sep 2020 08:38:47 +0000 (10:38 +0200)]
colorChooser: updte color palette

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3146

5 years agoUpdated Danish translation of gtk-properties
Ask Hjorth Larsen [Fri, 11 Sep 2020 00:31:50 +0000 (02:31 +0200)]
Updated Danish translation of gtk-properties

5 years agoUpdated Danish translation of gtk
Ask Hjorth Larsen [Fri, 11 Sep 2020 00:31:41 +0000 (02:31 +0200)]
Updated Danish translation of gtk

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 10 Sep 2020 21:56:46 +0000 (21:56 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

x11: Print all tested glx extensions

See merge request GNOME/gtk!2556

5 years agox11: Print all tested glx extensions
Matthias Clasen [Thu, 10 Sep 2020 21:30:28 +0000 (17:30 -0400)]
x11: Print all tested glx extensions

When initializing a glx context, print all the extensions
we look for.

5 years agoMerge branch 'gdk-cleanups' into 'master'
Matthias Clasen [Thu, 10 Sep 2020 20:21:12 +0000 (20:21 +0000)]
Merge branch 'gdk-cleanups' into 'master'

Gdk cleanups

Closes #2790

See merge request GNOME/gtk!2553

5 years agoUpdate Slovenian translation
Matej Urbančič [Thu, 10 Sep 2020 20:12:10 +0000 (20:12 +0000)]
Update Slovenian translation

5 years agoUpdate Slovenian translation
Matej Urbančič [Thu, 10 Sep 2020 20:09:27 +0000 (20:09 +0000)]
Update Slovenian translation

5 years agoMerge branch 'fix-vulkan-context-creation' into 'master'
Matthias Clasen [Thu, 10 Sep 2020 18:18:55 +0000 (18:18 +0000)]
Merge branch 'fix-vulkan-context-creation' into 'master'

Fix vulkan context creation

Closes #3147

See merge request GNOME/gtk!2555

5 years agogdk: Don't create surfaces of size 0x0
Matthias Clasen [Thu, 10 Sep 2020 17:56:44 +0000 (13:56 -0400)]
gdk: Don't create surfaces of size 0x0

Don't pass 0x0 as size when calling gdk_surface_new().
The Wayland backend takes us literally, and we end
up with a surface that (temporarily) has these
dimensions, confusing other APIs that we pass the
size to, such as Vulkan.

5 years agovulkan: Fix swapchain creation
Matthias Clasen [Thu, 10 Sep 2020 17:55:16 +0000 (13:55 -0400)]
vulkan: Fix swapchain creation

We end up with a surface that has size 0x0 at the
time we create the Vulkan context, and that is a
size that Vulkan doesn't like, so ensure we request
at least 1x1.

Fixes: #3147
5 years agoMerge branch 'ebassi/for-master' into 'master'
Matthias Clasen [Thu, 10 Sep 2020 17:39:25 +0000 (17:39 +0000)]
Merge branch 'ebassi/for-master' into 'master'

docs: Add note on command line arguments

See merge request GNOME/gtk!2554

5 years agodocs: Add note on command line arguments
Emmanuele Bassi [Thu, 10 Sep 2020 16:53:50 +0000 (17:53 +0100)]
docs: Add note on command line arguments

We don't parse them any more, and developers should stop using them when
migrating from GTK3 to GTK4.

5 years agoUpdate Italian translation
Milo Casagrande [Thu, 10 Sep 2020 08:03:38 +0000 (08:03 +0000)]
Update Italian translation

5 years agogdk: Move GdkSurfaceEdge to the right header
Matthias Clasen [Thu, 10 Sep 2020 04:44:05 +0000 (00:44 -0400)]
gdk: Move GdkSurfaceEdge to the right header

This is only used in gdktoplevel.h, so move it there.

5 years agogdk: Rename GdkSurfaceState to GdkToplevelState
Matthias Clasen [Thu, 10 Sep 2020 04:39:03 +0000 (00:39 -0400)]
gdk: Rename GdkSurfaceState to GdkToplevelState

That is what it is.

Fixes: #2790
5 years agogdk: Move GdkSurfaceState to the right header
Matthias Clasen [Thu, 10 Sep 2020 04:25:51 +0000 (00:25 -0400)]
gdk: Move GdkSurfaceState to the right header

This is really a toplevel state, so move it
to that header.

5 years agoMove GdkFullscreenMode to the right header
Matthias Clasen [Thu, 10 Sep 2020 04:22:01 +0000 (00:22 -0400)]
Move GdkFullscreenMode to the right header

This enum is just used for a GdkToplevel property now,
so move the declaration to the gdktoplevel.h header.

5 years agoNEWS: Updates
Matthias Clasen [Thu, 10 Sep 2020 03:49:58 +0000 (23:49 -0400)]
NEWS: Updates

5 years agosearch entry: Don't propagate handled events
Matthias Clasen [Thu, 10 Sep 2020 02:26:27 +0000 (22:26 -0400)]
search entry: Don't propagate handled events

When the text says it has handled the event,
trust it. We don't want to emit ::search-started
if the content hasn't changed, but we still
should not propagate e.g. an Insert key press
if it has already toggled overwrite mode in
the text.

Fixes: #2874
5 years agoMerge branch 'fix-gl-texture-cache' into 'master'
Matthias Clasen [Wed, 9 Sep 2020 19:27:24 +0000 (19:27 +0000)]
Merge branch 'fix-gl-texture-cache' into 'master'

gsk: Fix the gl texture cache

See merge request GNOME/gtk!2552

5 years agogsk: Fix the gl texture cache
Matthias Clasen [Wed, 9 Sep 2020 17:55:09 +0000 (13:55 -0400)]
gsk: Fix the gl texture cache

We need to include both the scale and the filtering
in the key for the texture cache, since those affect
the texture.

This fixes misrendering in the recorder in the inspector
whenever transforms are involved. An example where this
was showing up is testrevealer's swing transition.